package com.hopu.mybatis01.service.impl;
import com.hopu.mybatis01.mapper.UserMapper1;
import com.hopu.mybatis01.pojo.User1;
import com.hopu.mybatis01.service.IzyService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class zyServiceimpl implements IzyService {
    @Resource
    private UserMapper1 userMapper1;
    @Override
    public List<User1> getUsers(String name, String phone) {
        return userMapper1.selectUsers(name,phone);
    }
}
